<?php
$data = array('op'=>'setting');

$data=http_build_query($data);
        $opts = array(
            'http'=>array(
              'method'=>"POST",
              'header'=>"Content-type:application/x-www-form-urlencoded\r\nContent-Length:".strlen($data)."\r\n",
              'content'=> $data
            )
        );
        $context = stream_context_create($opts);
        var_dump(file_get_contents('http://192.168.1.102/htxsession/index.php?op=setting'));